package ru.agiledev.aos.frontend.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.util.List;

/**
 * Created by Anton Kirillov
 * Date: 8/12/11
 */
public class TransformationResult implements IsSerializable {
    String key;
    String initialQuery;
    String questionType;

    String distinctiveObject;
    String firstObject;
    String secondObject;         //null if not presented

    String additionalObject;     //null if not presented
    String dateObject;           //null if not presented

    List<String> queries;

    //constructors

    public TransformationResult(){}

    //setters and getters


    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getInitialQuery() {
        return initialQuery;
    }

    public void setInitialQuery(String initialQuery) {
        this.initialQuery = initialQuery;
    }

    public String getDistinctiveObject() {
        return distinctiveObject;
    }

    public void setDistinctiveObject(String distinctiveObject) {
        this.distinctiveObject = distinctiveObject;
    }

    public String getFirstObject() {
        return firstObject;
    }

    public void setFirstObject(String firstObject) {
        this.firstObject = firstObject;
    }

    public String getSecondObject() {
        return secondObject;
    }

    public void setSecondObject(String secondObject) {
        this.secondObject = secondObject;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public List<String> getQueries() {
        return queries;
    }

    public void setQueries(List<String> queries) {
        this.queries = queries;
    }

    public String getAdditionalObject() {
        return additionalObject;
    }

    public void setAdditionalObject(String additionalObject) {
        this.additionalObject = additionalObject;
    }

    public String getDateObject() {
        return dateObject;
    }

    public void setDateObject(String dateObject) {
        this.dateObject = dateObject;
    }
}
